<?php
	/*
	 *包含数据库配置文件
	 */
	require_once THINKROOT."/config.inc.php";
	
	$skin = 'default';
	
	//URL REWRITE
	
	if($TS_APP['options']['isrewrite']=='0'){
		if($ac=='rss'){
			$TS_URL['group'] = 'index.php?app=group&amp;ac=group&amp;groupid=';
			$TS_URL['topic'] = 'index.php?app=group&amp;ac=topic&amp;topicid=';
		}else{
			$TS_URL['group'] = 'index.php?app=group&ac=group&groupid=';
			$TS_URL['topic'] = 'index.php?app=group&ac=topic&topicid=';
		}
		$TS_URL['group_user'] = 'index.php?app=group&ac=group_user&groupid=';
		$TS_URL['group_topic'] = 'index.php?app=group&ac=group_topic&groupid=';
		
		$TS_URL['topic_tag'] = 'index.php?app=group&ac=topic_tag&tagid=';
		$TS_URL['cate'] = 'index.php?app=group&ac=cate&cateid=';
		$TS_URL['rss'] = 'index.php?app=group&ac=rss&groupid=';
		$TS_URL['suffix'] = '';
	}else{
		$TS_URL['group'] = 'group-';
		$TS_URL['group_user'] = 'g-user-';
		$TS_URL['group_topic'] = 'g-topic-';
		$TS_URL['topic'] = 'topic-';
		$TS_URL['topic_tag'] = 't-tag-';
		$TS_URL['cate'] = 'cate-';
		$TS_URL['rss'] = 'rss-';
		$TS_URL['suffix'] = '.html';
	}